﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using Windows.UI.Xaml;

namespace Windows8Accelerator.Core.Xaml.Controls
{
    public class SuperSilhouetteHeaderItem : DependencyObject
    {
        public Style BackButtonStyle
        {
            get { return (Style)GetValue(BackButtonStyleProperty); }
            set { SetValue(BackButtonStyleProperty, value); }
        }
        public static readonly DependencyProperty BackButtonStyleProperty =
            DependencyProperty.Register("BackButtonStyle", typeof(Style), typeof(SuperSilhouetteHeaderItem), new PropertyMetadata(null));

        public Style PageTitleStyle
        {
            get { return (Style)GetValue(PageTitleStyleProperty); }
            set { SetValue(PageTitleStyleProperty, value); }
        }
        public static readonly DependencyProperty PageTitleStyleProperty =
            DependencyProperty.Register("PageTitleStyle", typeof(Style), typeof(SuperSilhouetteHeaderItem), new PropertyMetadata(null));

        public object Content
        {
            get { return (object)GetValue(ContentProperty); }
            set { SetValue(ContentProperty, value); }
        }
        public static readonly DependencyProperty ContentProperty =
            DependencyProperty.Register("Content", typeof(object), typeof(SuperSilhouetteHeaderItem), new PropertyMetadata(null));

        public ICommand BackButtonCommand
        {
            get { return (ICommand)GetValue(BackButtonCommandProperty); }
            set { SetValue(BackButtonCommandProperty, value); }
        }
        public static readonly DependencyProperty BackButtonCommandProperty =
            DependencyProperty.Register("BackButtonCommand", typeof(ICommand), typeof(SuperSilhouetteHeaderItem), new PropertyMetadata(null));


    }
}
